package cn.laixueit.service;

import cn.laixueit.pojo.Category;

import java.util.List;
import java.util.Map;

public interface CategoryService {
    List<Category> list(Integer pid,String name);

    void save(Category category);

    Category findById(Integer id);

    void update(Category category);

    Category delById(Integer id);

    List<Map<String,Object>> findCategoryListMap();
}
